package com.siwei.mes.mapper.experiment;

import com.siwei.mes.entity.experiment.ExperimentSignature;
import com.siwei.mes.common.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 试验台账与电子签名关系(ExperimentSignature)表数据库访问层
 *
 * @author makejava
 * @since 2025-10-28 23:46:06
 */
public interface ExperimentSignatureMapper extends BaseMapper<ExperimentSignature> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<ExperimentSignature> getList(ExperimentSignature entity);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    ExperimentSignature loadById(@Param("id") Long id);

    /**
     * 根据id获取
     *
     * @param experimentId
     * @return
     */
    ExperimentSignature loadByExperimentId(@Param("experimentId") Long experimentId);
}
